package com.apex.lottery.common.constant;


import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName Constants
 * @Description 常量类
 * @Author ZJX
 * @Date 2025/4/17 14:09
 * @Version 1.0
 **/
public class Constants {

    public static final String PICTURE_LOCAL_PATH = "D:\\JavaProjects\\lottery_-system\\lottery-system\\picture";

    /**
     * 活动缓存前置，为了区分业务
     */
    public static final String ACTIVITY_PREFIX = "ACTIVITY_";

    /**
     * 活动缓存过期时间
     */
    public static final Long ACTIVITY_TIMEOUT = 60 * 60 * 24 * 3L;

    public static final String WINNING_RECORDS_PREFIX = "WINNING_RECORDS_";

    public static final String NOTIFICATION_SUBJECT = "中奖通知";

    public static final Long WINNING_RECORDS_TIMEOUT = 60 * 60 * 24 * 2L;

    public static final String QUEUE_NAME = "DirectQueue";
    public static final String EXCHANGE_NAME = "DirectExchange";
    public static final String ROUTING = "DirectRouting";

    public static final String DLX_QUEUE_NAME = "DlxDirectQueue";
    public static final String DLX_EXCHANGE_NAME = "DlxDirectExchange";
    public static final String DLX_ROUTING = "DlxDirectRouting";

}
